package com.ygqh.baby.po;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.DataStatus;

public class YgPublish {
	private Long id;

	private String tags;

	private String publishDesc;

	private Long userId;

	private Date createTime;

	private String checkBy;

	private Date checkTime;

	private String checkRemark;

	private DataStatus status;

	private String checkStatus;

	private Long sortNum;

	private Boolean isReceiveCoupon;
	// ----------------------

	private YgUser user;

	private List<YgPublishDetail> publishDetails;

	public YgUser getUser() {
		return user;
	}

	public void setUser(YgUser user) {
		this.user = user;
	}

	public List<YgPublishDetail> getPublishDetails() {
		return publishDetails;
	}

	public void setPublishDetails(List<YgPublishDetail> publishDetails) {
		this.publishDetails = publishDetails;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags == null ? null : tags.trim();
	}

	public String getPublishDesc() {
		return publishDesc;
	}

	public void setPublishDesc(String publishDesc) {
		this.publishDesc = publishDesc == null ? null : publishDesc.trim();
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCheckBy() {
		return checkBy;
	}

	public void setCheckBy(String checkBy) {
		this.checkBy = checkBy == null ? null : checkBy.trim();
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getCheckRemark() {
		return checkRemark;
	}

	public void setCheckRemark(String checkRemark) {
		this.checkRemark = checkRemark == null ? null : checkRemark.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public String getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus == null ? null : checkStatus.trim();
	}

	public Long getSortNum() {
		return sortNum;
	}

	public void setSortNum(Long sortNum) {
		this.sortNum = sortNum;
	}

	public Boolean getIsReceiveCoupon() {
		return isReceiveCoupon;
	}

	public void setIsReceiveCoupon(Boolean isReceiveCoupon) {
		this.isReceiveCoupon = isReceiveCoupon;
	}

}